//
//  ZRRequestHint.h
//  Mcilife
//
//  Created by 黄涛 on 2019/4/18.
//  Copyright © 2019 syhzg. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum ZRRequestState{
    
    nodata_ZRRequestState = 0,
    error_ZRRequestState
    
}ZRRequestState;

@interface ZRRequestHint : UIView

typedef ZRRequestHint * _Nonnull (^Set)(NSString * value);
typedef ZRRequestHint * _Nonnull (^Chose)(ZRRequestState requestState);
typedef ZRRequestHint * _Nonnull (^Add)(SEL loadAction);

@property(nonatomic , copy)Set title;
@property(nonatomic , copy)Set image;
@property(nonatomic , copy)Set subTitle;
@property (nonatomic , copy)Chose state;
@property (nonatomic , copy)Add action;

- (id)initWithView:(UIView *)view;

@end

NS_ASSUME_NONNULL_END
